<html>
<head></head>
<body>
<applet code="jTopaz.GridFTPClientWrapper.class" archive="signed2.jar" name="TopazApplet" id="TopazApplet"></applet>

<script id="myScript">
function sayHello(){
	alert(document.TopazApplet.Hello());	
}

function myProxyLogin(myProxyServer, username, password) {
	document.TopazApplet.myProxyLogin(myProxyServer, username, password);
}

function getMyProxyStatus() {
	return document.TopazApplet.getMyProxyStatus();	
}

function remoteLogin(GridFTPServer, GridFTPServerPort) {
	return document.TopazApplet.remoteLogin(GridFTPServer, GridFTPServerPort);
}

function transferClientLogin(GridFTPServer, GridFTPServerPort) {
	return document.TopazApplet.transferClientLogin(GridFTPServer, GridFTPServerPort);
}

function uploadClientLogin(GridFTPServer, GridFTPServerPort) {
	return document.TopazApplet.uploadClientLogin(GridFTPServer, GridFTPServerPort);
}

function getLoginStatus() {
	return document.TopazApplet.getLoginStatus();	
}

function update() {
	return document.TopazApplet.update();
}

function list() {
	return document.TopazApplet.list();
}

function listComplete() {
	return document.TopazApplet.listComplete();	
}

function getListStatus() {
	return document.TopazApplet.getLoginStatus();	
}

function getCurrentDir() {
	return document.TopazApplet.getCurrentDir();	
}

function getContents() {
	return document.TopazApplet.getContents();	
}

function isInfoReady() {
	return document.TopazApplet.isInfoReady();
}

function isTransferReady() {
	return document.TopazApplet.isTransferReady();	
}

function setTransferClient() {
	return document.TopazApplet.setTransferClient();
}
function isUploadReady() {
	return document.TopazApplet.isUploadReady();	
}

function setUploadClient() {
	return document.TopazApplet.setUploadClient();	
}

function transferInProgress() {
	return document.TopazApplet.transferInProgress();	
}

function getSpeed() {
	return document.TopazApplet.getSpeed();	
}

function getProgress() {
	return document.TopazApplet.getProgress();	
}

function getTransferName() {
	return document.TopazApplet.getTransferName();	
}

function queueReady() {
	return document.TopazApplet.queueReady();	
}

function StartTransfer() {
	return document.TopazApplet.StartTransfer();
}	

function getLastCompletedTransfer() {
	return document.TopazApplet.getLastCompletedTransfer();	
}

function changeDir(dest) {
	return document.TopazApplet.changeDir(dest);	
}

function goUpDir() {
	return document.TopazApplet.goUpDir();	
}

function getTransferClientStatus() {
	return document.TopazApplet.getTransferClientStatus();	
}

function addToQueue(command, remoteFile, localFile) {
	return document.TopazApplet.addToQueue(command, remoteFile, localFile);	
}

function makeDir(dir) {
	return document.TopazApplet.makeDir(dir);
}

function credFromFile(fileName) {
	return document.TopazApplet.credFromFile(fileName);	
}

function disconnect() {
	document.TopazApplet.close();
}

function cancel(info) {
	return document.TopazApplet.cancel(info);	
}

function isConnected() {
	return document.TopazApplet.isConnected();	
}

function setConnected(value) {
	return document.TopazApplet.setConnected(value);	
}

function transferCanceled() {
	return document.TopazApplet.transferCanceled();	
}

function reconnectTransfer() {
	return document.TopazApplet.reconnectTransfer();
}

function proxyInit() {
	return document.TopazApplet.proxyInit();
}

function delete(filePath, dir) {
	return document.TopazApplet.delete(filePath, dir);
}

</script>

<!-- <input type="button" value="click me" onClick="sayHello()"> -->
</body>
</html>
